@import "~antd/es/style/themes/default.less";
.containers {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: auto;
  background-repeat: no-repeat !important;
  background-position: center bottom !important;
  background-size: cover !important;
  .upload {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 999;
  }
}
.container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: auto;
  background-image: linear-gradient(
    145deg,
    #ff9de3 0%,
    #ff9de3 25%,
    #1890ff 50%,
    #ff9de3 75%,
    #ff9fe4 100%
  ) !important;
  background-size: 400% 400%;
  animation: bgmoved 20s linear 0s infinite alternate forwards;
  .upload {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 999;
  }
}

@keyframes bgmoved {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.lang {
  width: 100%;
  height: 40px;
  line-height: 44px;
  text-align: right;
  :global(.ant-dropdown-trigger) {
    margin-right: 24px;
  }
}

.content {
  flex: 1;
  padding: 32px 0;
}

@media (min-width: @screen-md-min) {
  .content {
    padding: 32px 0 24px;
  }
}

.top {
  text-align: center;
}

.header {
  height: 44px;
  line-height: 44px;
  a {
    text-decoration: none;
  }
}

.logo {
  height: 44px;
  margin-right: 16px;
  vertical-align: top;
}

.title {
  position: relative;
  top: 2px;
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
  font-family: Avenir, "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.desc {
  margin-top: 12px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
}

@keyframes bgmove {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes rebgmove {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.main {
  width: 425px;
  margin: -66px 10vw 0px 0;
  overflow: hidden;
  border-radius: 0px;
  position: relative;
  padding-bottom: 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 184, 255, 0.2);
  &::before{
    content: '';
    width: 36px;
    height: 36px;
    border-bottom-left-radius: 0px;
    border-bottom: 4px solid @primary-color;
    border-left: 4px solid @primary-color;
    border-right: 4px solid transparent;
    border-top: 4px solid transparent;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  &::after{
    content: '';
    width: 36px;
    height: 36px;
    border-bottom-right-radius: 0px;
    border-bottom: 4px solid @primary-color;
    border-right: 4px solid @primary-color;
    border-left: 4px solid transparent;
    border-top: 4px solid transparent;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 0 0 0;
    color: #ffffff;
    font-weight: bolder;
    font-size: 20px;
    
    ::before{
      content: '';
      width: 36px;
      height: 36px;
      border-top-left-radius: 0px;
      border-top: 4px solid @primary-color;
      border-left: 4px solid @primary-color;
      border-right: 4px solid transparent;
      border-bottom: 4px solid transparent;
      position: absolute;
      left: 0;
      top: 0;
    }
    ::after{
      content: '';
      width: 36px;
      height: 36px;
      border-top-right-radius: 0px;
      border-top: 4px solid @primary-color;
      border-right: 4px solid @primary-color;
      border-left: 4px solid transparent;
      border-bottom: 4px solid transparent;
      position: absolute;
      right: 0;
      top: 0;
    }

    img {
      animation: rebgmove 4s;
    }

    img:last-child {
      position: absolute;
      right: 0;
      left: 0;
      margin: auto;
      animation: bgmove 4s forwards;
    }
  }
  .body {
    padding: 24px;
  }

  @media screen and (max-width: @screen-sm) {
    width: 90%;
    max-width: 428px;
  }

  :global {
    .@{ant-prefix}-tabs-nav-list {
      margin: auto;
      font-size: 16rpx;
    }
  }

  .icon {
    margin-left: 16px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;
    .register {
      float: right;
    }
  }

  .prefixIcon {
    color: @primary-color;
    font-size: @font-size-base;
  }
}
